
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-xiaolian"></i>
                    <div class="name">  笑脸</div>
                    <div class="fontclass">.icon-xiaolian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notice"></i>
                    <div class="name">通知</div>
                    <div class="fontclass">.icon-notice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weibiaoti14"></i>
                    <div class="name">正确</div>
                    <div class="fontclass">.icon-weibiaoti14</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star"></i>
                    <div class="name">star</div>
                    <div class="fontclass">.icon-star</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-cross-empty"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-icon-cross-empty</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanchu"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-shanchu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiantou-copy-copy"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-jiantou-copy-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fasong"></i>
                    <div class="name">报告-发送</div>
                    <div class="fontclass">.icon-fasong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-762bianjiqi_jietu"></i>
                    <div class="name">762编辑器_截图</div>
                    <div class="fontclass">.icon-762bianjiqi_jietu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caret-down"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-caret-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-nan"></i>
                    <div class="name">男</div>
                    <div class="fontclass">.icon-nan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-nv"></i>
                    <div class="name">女</div>
                    <div class="fontclass">.icon-nv</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tuichu"></i>
                    <div class="name">退出</div>
                    <div class="fontclass">.icon-tuichu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_mess"></i>
                    <div class="name">icon_mess</div>
                    <div class="fontclass">.icon-icon_mess</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_fans"></i>
                    <div class="name">icon_fans</div>
                    <div class="fontclass">.icon-icon_fans</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_collection"></i>
                    <div class="name">icon_collection</div>
                    <div class="fontclass">.icon-icon_collection</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_add"></i>
                    <div class="name">icon_add</div>
                    <div class="fontclass">.icon-icon_add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_setting"></i>
                    <div class="name">icon_setting</div>
                    <div class="fontclass">.icon-icon_setting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_send"></i>
                    <div class="name">icon_send</div>
                    <div class="fontclass">.icon-icon_send</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_newFans"></i>
                    <div class="name">icon_newFans</div>
                    <div class="fontclass">.icon-icon_newFans</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_group"></i>
                    <div class="name">icon_group</div>
                    <div class="fontclass">.icon-icon_group</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_fansList"></i>
                    <div class="name">icon_fansList</div>
                    <div class="fontclass">.icon-icon_fansList</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_photo"></i>
                    <div class="name">icon_photo</div>
                    <div class="fontclass">.icon-icon_photo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_collection1"></i>
                    <div class="name">icon_collection2</div>
                    <div class="fontclass">.icon-icon_collection1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_links"></i>
                    <div class="name">icon_links</div>
                    <div class="fontclass">.icon-icon_links</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-computer"></i>
                    <div class="name">computer</div>
                    <div class="fontclass">.icon-computer</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-QRcode"></i>
                    <div class="name">QRcode</div>
                    <div class="fontclass">.icon-QRcode</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-btn_submit"></i>
                    <div class="name">btn_submit</div>
                    <div class="fontclass">.icon-btn_submit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_history"></i>
                    <div class="name">icon_history</div>
                    <div class="fontclass">.icon-icon_history</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_add1"></i>
                    <div class="name">icon_add2</div>
                    <div class="fontclass">.icon-icon_add1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_data"></i>
                    <div class="name">icon_data</div>
                    <div class="fontclass">.icon-icon_data</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_video"></i>
                    <div class="name">icon_video</div>
                    <div class="fontclass">.icon-icon_video</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_voice"></i>
                    <div class="name">icon_voice</div>
                    <div class="fontclass">.icon-icon_voice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_notice"></i>
                    <div class="name">icon_notice</div>
                    <div class="fontclass">.icon-icon_notice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_groupSetting"></i>
                    <div class="name">icon_groupSetting</div>
                    <div class="fontclass">.icon-icon_groupSetting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_"></i>
                    <div class="name">icon_@</div>
                    <div class="fontclass">.icon-icon_</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_search1"></i>
                    <div class="name">icon_search</div>
                    <div class="fontclass">.icon-icon_search1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_search"></i>
                    <div class="name">icon_search2</div>
                    <div class="fontclass">.icon-icon_search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_add2"></i>
                    <div class="name">icon_add3</div>
                    <div class="fontclass">.icon-icon_add2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_edit"></i>
                    <div class="name">icon_edit</div>
                    <div class="fontclass">.icon-icon_edit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--huangguan1"></i>
                    <div class="name">90-皇冠</div>
                    <div class="fontclass">.icon--huangguan1</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
